package com.winter.entity;

public class TwoPrimaryKey extends TwoPrimaryKeyKey {
    private String name;

    private String phone;

    private Integer sex;

    public TwoPrimaryKey(String idOne, String idTwo, String name, String phone, Integer sex) {
        super(idOne, idTwo);
        this.name = name;
        this.phone = phone;
        this.sex = sex;
    }

    public TwoPrimaryKey() {
        super();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}